package com.unipay.springcloud20.dao;

import com.unipay.springcloud20.entities.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Project: springcloud20
 * @Author: C.yu
 * @Time: 2023-03-14 20:49:37
 * @Desc: TODO
 */

@Mapper
public interface PaymentDao {

    //public int add(Payment payment);
    public int create(Payment payment);

    public Payment getPayByID(@Param("id") Long id);
}
